package org.example.entity;

import lombok.Data;

/**
 * @author why
 * @date 2022/11/1220:37
 */
@Data
public class Person {


    private String firstName;


    private String lastName;


    private Integer age;


    public Person(String firstName,String lastName,Integer age){
        super();
        this.firstName = firstName;
        this.lastName = lastName;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "firstName='" + firstName + '\'' +
                ", lastName='" + lastName + '\'' +
                ", age=" + age +
                '}';
    }
}
